body > .main {
    padding: 100px 0 60px 0;
}

.main .container .main-box {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.main .container .main-box .article {
    flex: 4;
}

.main .container .main-box .article > div {
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-bottom: 20px;
}

.main .container .main-box .article > div:last-of-type {
    margin-bottom: 0;
}

.main .container .main-box .article .article-main {
    padding: 20px;
}

.main .container .main-box .article .article-main .head {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    color: #333;
    border-bottom: 1px solid #ccc;
    padding-bottom: 20px;
}

.main .container .main-box .article .article-main .head .info {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #666;
    font-size: 14px;
}

.main .container .main-box .article .article-main .head .info > div {
    display: flex;
    align-items: center;
    gap: 5px;
}

.main .container .main-box .article .article-main .head .info > div svg {
    width: 17px;
    height: 17px;
    fill: #666;
}

.main .container .main-box .article .article-main .main {
    padding-top: 20px;
    color: #333;
    font-size: 14px;
}

.main .container .main-box .article .article-comment {
    color: #333;
}

.main .container .main-box .article .article-comment .head {
    padding: 20px;
    border-bottom: 1px solid #ccc;
}

.main .container .main-box .article .article-comment .main {
    padding: 20px;
}

.main .container .main-box .article .article-comment .main .user-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.main .container .main-box .article .article-comment .main .user-list .user-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.main .container .main-box .article .article-comment .main .user-list .user-item .pic {
    width: 30px;
    height: 30px;
    border-radius: 100vh;
    background: url("../assets/defaultAvatar2.png") no-repeat center;
    background-size: cover;
}

.main .container .main-box .article .article-comment .main .user-list .user-item .comment {
    display: flex;
    flex-direction: column;
    font-size: 14px;
    color: #333;
    gap: 5px;
}

.main .container .main-box .article .article-comment .main .user-list .user-item .comment .name {
    font-size: 16px;
    font-weight: 600;
}

.main .container .main-box .article .article-reply {
    width: 100%;
    padding: 20px;
    text-align: end;
}

.main .container .main-box .article .article-reply textarea {
    width: 100%;
    padding: 20px;
    font-family: Arial;
    border: 1px solid #ccc;
    outline: none;
    border-radius: 5px;
}

.main .container .main-box .article .article-reply button {
    margin-top: 10px;
    border: 0;
    outline: 0;
    background-color: var(--bg-primary);
    color: #fff;
    border-radius: 5px;
    padding: 0 30px;
    height: 35px;
    font-size: 16px;
    cursor: pointer;
}

.main .container .main-box .article .article-reply button:hover {
    background-color: var(--btn-hover);
}

.main .container .main-box .article .article-reply button:active {
    background-color: var(--btn-active);
}


.main .container .main-box .sidebar {
    flex: 1;
    border: 1px solid #ccc;
    border-radius: 5px;
    height: 360px;
    color: #333;
}

.main .container .main-box .sidebar .sidebar-pic {
    width: 100%;
    height: 200px;
}

.main .container .main-box .sidebar .sidebar-main {
    padding: 10px 20px;
    font-size: 14px;
}

.main .container .main-box .sidebar .sidebar-main .title {
    text-align: center;
    margin-bottom: 5px;
}

.main .container .main-box .sidebar .sidebar-main .content {
    border-bottom: 1px solid #ccc;
    padding-bottom: 15px;
}

.main .container .main-box .sidebar .sidebar-main .bottom {
    display: flex;
    gap: 10px;
}

.main .container .main-box .sidebar .sidebar-main .bottom > div {
    flex: 1;
    margin-top: 15px;
    border: 1px solid var(--bg-primary);
    color: var(--bg-primary);
    border-radius: 3px;
    padding: 5px 0;
    text-align: center;
    cursor: pointer;
}

.main .container .main-box .sidebar .sidebar-main .bottom .add {
    background-color: var(--bg-primary);
    color: #fff;
}

.main .container .main-box .sidebar .sidebar-main .bottom .add a {
    color: inherit;
}

.main .container .main-box .sidebar {
    flex: 1;
}


/* markdown */
.markdown-body {
    box-sizing: border-box;
    min-width: 200px;
    max-width: 980px;
    margin: 0 auto;
    padding: 20px;
}

@media (max-width: 767px) {
    .markdown-body {
        padding: 15px;
    }
}

.markdown-body code, .markdown-body tt,
.markdown-body .highlight pre, .markdown-body pre {
    border: 1px solid #ccc;
}
